import styles from './index.less';
import { Form, Input, Button, Select } from 'antd';
const layout = {
  labelCol: {
    span: 10,
  },
  wrapperCol: {
    span: 19,
  },
};
export default function AdminIndexImg() {
  const [form] = Form.useForm();
  const onFinish = (values: any) => {
    console.log(values);
  };
  const onReset = () => {
    form.resetFields();
  };
  return (
    <div className={styles.admin_indexImg}>
      轮播图管理
      <Form  {...layout}  name="control-hooks"  onFinish={onFinish}  layout="inline">
        <Form.Item  label="状态"  name="status"  className={styles.comment_from_item}  colon={false}>
          <Select placeholder="状态">
            <Select.Option value="publish">禁用</Select.Option>
            <Select.Option value="draft">正常</Select.Option>
          </Select>
        </Form.Item>
        <Form.Item>
          <Button  type="primary"  htmlType="submit"  className={styles.comment_button_search}>
            搜索
          </Button>
        </Form.Item>
        <Form.Item>
          <Button  htmlType="button"  onClick={onReset}  className={styles.comment_button_reset}>
            重置
          </Button>
        </Form.Item>
      </Form>
    </div>
  );
}
